package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-安全模块-演练电池报警记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_safe_battery_alarm")
@ApiModel(value = "ErpSafeBatteryAlarm对象", description = "ERP系统-安全模块-演练电池报警记录")
public class ErpSafeBatteryAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营城市")
    private Integer operatorId;

    @ApiModelProperty("所属仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("电池ID")
    private Integer batteryId;

    @ApiModelProperty("电池编号")
    private String batteryNo;

    @ApiModelProperty("触发类型 1-人工触发 2-自动触发")
    private Integer type;

    @ApiModelProperty("开始报警时间")
    private Date alarmStartTime;

    @ApiModelProperty("结束报警时间")
    private Date alarmEndTime;

    @ApiModelProperty("报警时长（秒）")
    private Integer alarmCostTime;

    @ApiModelProperty("结束处理时间")
    private Date dealEndTime;

    @ApiModelProperty("处理耗时（秒）")
    private Integer dealTime;

    @ApiModelProperty("状态 1-报警中 2-处理完成 3-处理超时 4-取消演练 5-未处理 6-设备异常")
    private Integer status;

    @ApiModelProperty("仓库负责人ID")
    private Integer warehouseLeadId;

    @ApiModelProperty("仓库负责人姓名")
    private String warehouseLeadName;

    @ApiModelProperty("是否是最新演练")
    private Integer isLast;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
